﻿<div class="main">
    <form class=" form" action="@Url.ActionUrl("SmsTest")">
        <div class="form-group">
            <label class="control-label">接收手机</label>
            <div class="controls">
                <input name="mobile" type="text" id="mobile" class="form-control" style="width:80%" data-validate="dataType:'mobile',nullMsg:'请填写接收手机号！',errorMsg:'手机号码格式错误！'" />
                <span class="help-block">请填写您的手机号码</span>
            </div>
        </div>

        <div class="form-group">
            <label class="control-label">短信模板编号</label>
            <div class="controls">
                <input name="content" type="text" class="form-control"  id="content" style="width:80%" data-validate="dataType:'*',nullMsg:'请填写短信模板编号'" />
                <span class="help-block">模板编号可以在短信运营商处设置后获取。</span>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label">关键词替换</label>
            <div class="controls">
                <input name="paramString" id="paramString"  type="text" class="form-control" value="{&quot;code&quot;:&quot;123456&quot;}"style="width:80%" />
                <span class="help-block">用于替换模板中的关键词，采用Json格式,如：{"code":"123456"}</span>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="button" class="btn btn-sm btn-primary ui-pagePost" data-custom-params="url:'@Url.ActionUrl()',callBack:'',successMsg:'发送成功!'">发送</button>
                <span class="help-block"></span>
            </div>
        </div>
    </form>
</div>